import java.util.*;
public class test{
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String a= sc.nextLine();
        System.out.println(a);
        try{
            Double t =Double.parseDouble(a);
            System.out.println(t);
        }catch(NumberFormatException e) {
            System.out.println(e.getMessage());
            System.out.println("笨b你输入的不是数字");
        }
        
    }
}